<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script src="/TP/Public/js/jquery.js"></script>
	<script src="/TP/Public/js/dialog/layer.js"></script>
	<script src="/TP/Public/js/dialog.js"></script>
	<script src="/TP/Public/js/admin/login.js"></script>
	<!-- <script type="text/javascript" src='/TP/Public/admin/js/jquery-1.8.3.js'></script> -->
	<button>发送ajax请求</button>
	<script type="text/javascript">
	$('button:eq(0)').click(function(){
		$.ajax({
			url:'/TP/index.php/Admin/Login/check',
			data:{'name':'xiaowanba'},
			type:'post',
			// dataType:'json',
			success:function(mes){
				alert(mes);
				alert(typeof(mes));
				//eval
			}
		});	
	});
	</script>
</body>
</html>